-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#6299 - Throw a compile error when passing an empty directive name #6300
Conversation
Does this break autocompletion in vscode when writing "class:" ? |
Good point. Probably yes. In general it would be good to be able to pass a flag to the parser to be more forgiving, which the language-tools could use then. |
I tried it before and after the change. I didn't notice any issues or changes with autocomplete. |
The VS Code extension uses a built-in version of Svelte do you can't test it that way. You would need to build from source. |
I reload my vscode on every change and it seems it uses my local svelte version because of npm link |
Fixes #6299.
Example of the error message: